<template>
  <div class="userInfo">
    <div class="userInfoImg">
      <img src="~assets/images/profile/user.png" alt="">
    </div>
    <div class="userInfoRight">
      <div class="userInfoRightLog">
        <div class="userLogin">
          <span>登录</span>/<span>注册</span>
        </div>
        <div class="userPhone">
          <img src="~assets/images/profile/phone.png" alt="">暂无绑定手机号
        </div>
      </div>
      <div class="userInfoRightDetail">
        <img src="~assets/images/profile/left.png" alt="">
      </div>
    </div>
  </div>
</template>

<script>
  export default {
    name: "UserInfo"
  }
</script>

<style scoped>
  .userInfo{
    border-top: 1px solid white;
    background-color: var(--color-tint);
    display: flex;
    align-items: center;
    color: white;
    padding: 10px;
  }
  .userInfo{
    flex: 1;
  }
  .userInfoRight{
    flex: 2;
  }
  .userInfoImg>img{
    width: 55px;
    height: 55px;
    margin-right: 5px;
  }
  .userPhone>img{
    width: 20px;
    vertical-align: middle;
  }
  .userInfoRight{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .userInfoRightDetail>img{
    width: 20px;
  }
  .userLogin{
    margin-left: 4px;
  }
</style>